package com.muyu.danmo.mapper;


import com.muyu.danmo.domain.DanmoGalleryWorkBids;
import com.muyu.danmo.domain.DanmoGalleryWorks;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 画廊出价Mapper接口
 *
 * @author ruoyi
 * @date 2024-10-23
 */
public interface DanmoGalleryWorkBidsMapper
{
    /**
     * 查询画廊出价
     *
     * @param id 画廊出价主键
     * @return 画廊出价
     */
    public DanmoGalleryWorkBids selectDanmoGalleryWorkBidsById(Long id);

    /**
     * 查询画廊出价列表
     *
     * @param danmoGalleryWorkBids 画廊出价
     * @return 画廊出价集合
     */
    public List<DanmoGalleryWorkBids> selectDanmoGalleryWorkBidsList(DanmoGalleryWorkBids danmoGalleryWorkBids);

    /**
     * 新增画廊出价
     *
     * @param danmoGalleryWorkBids 画廊出价
     * @return 结果
     */
    public int insertDanmoGalleryWorkBids(DanmoGalleryWorkBids danmoGalleryWorkBids);

    /**
     * 修改画廊出价
     *
     * @param danmoGalleryWorkBids 画廊出价
     * @return 结果
     */
    public int updateDanmoGalleryWorkBids(DanmoGalleryWorkBids danmoGalleryWorkBids);

    /**
     * 删除画廊出价
     *
     * @param id 画廊出价主键
     * @return 结果
     */
    public int deleteDanmoGalleryWorkBidsById(Long id);

    /**
     * 批量删除画廊出价
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDanmoGalleryWorkBidsByIds(Long[] ids);

    DanmoGalleryWorks selectDanmoGalleryWork(@Param("id") Long worksId);

}
